package edu.suda.xsap.mapper;

import edu.suda.xsap.entity.ClassRecord;
import edu.suda.xsap.entity.Member;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ClassRecordMapper {
    void delete(Integer id);
    void save(ClassRecord classRecord);
    ClassRecord findById(Integer id);

    List<ClassRecord> findByScheduleId(Integer scheduleId);
    List<ClassRecord> findAll();
    List<ClassRecord> findByMemberId(Integer memberId);
}
